<template>
  <view class="page-layout">
    <u-button type="success" text="选择视频" @click="selectVideo()"></u-button>
  </view>
</template>

<script>
import {chooseVideoFile} from "../../utils/video"

export default {
  name: "video",
  methods: {
    selectVideo() {
      chooseVideoFile()
    }
  }
}
</script>

<style scoped>
.page-layout {
  padding: 20px;
}

.page-layout > * {
  margin-top: 10px;
}
</style>
